﻿@{
    Layout = "../Shared/_Default.cshtml";
    ViewBag.PageTitle = Model != null 
        ? T(Res.Name("Edit"), JDM.Int32(Model.EntityID)) 
        : T(Res.Name("Create"));
}

@section Breadcrumb
{
    <a href="@Url.Action(Loc.Act("Index"))">@T(Res.In("WebAdmin").Of("Navigation").Of("Catalog").Name("ItemSpec"))</a> &gt;
}
<section class="box">
    <header>
        @if(Model != null)
        {
            <ul class="bar toolbar">
                <li><a class="button confirm" href="@Url.Action(Loc.Act("Delete").Set(new
                {
                    id = JDM.Int32(Model.EntityID)
                }))">@T(Res.In("Common").Of("Act").Name("Delete"))</a></li>
            </ul>
        }
        <h3>@ViewBag.PageTitle</h3>
    </header>
    <section>
        @RenderBody()
    </section>
</section>